Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Jan 12, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

GeoffreyFrogeye and others added 2 commits January 10, 2026 13:21
Akkoma (and Pleroma?) do not add a X-Ratelit-Reset header (or anything
that would give insight as to the state of the rate limiter) to their
429 errors.
This currently makes FediFetcher raise a KeyError, notably on fetching
the timeline of an Akkoma server.

This works around it by falling back to an internally provided wait
time. It starts at half a second, and is mulitplied by 4 on each retry. For
the default of 5 retries this should wait a total of ~3 minutes.
This should cover aggressively configured rate-limiters as well as
handling the default Akkoma timeline limit almost optimally (which
replenishes every half a second:
https://akkoma.dev/AkkomaGang/akkoma/src/commit/e326285085e40c8a75f5c154122052d371a144a1/config/config.exs#L727)
@pull pull bot locked and limited conversation to collaborators Jan 12, 2026
@pull pull bot added the ⤵️ pull label Jan 12, 2026
@pull pull bot merged commit ba6e1c3 into CompostInTraining:main Jan 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants